console.log("myscript");
console.log(document.getElementById("myFrame"))
console.log(document.domain);// Outputs present active URL of tab






chrome.runtime.onMessage.addListener(//监听扩展程序进程或内容脚本发送的请求
    function (request, sender, sendResponse) {
        if (request.action == "GetBaiduKeyWord") {
            sendResponse({ kw: document.forms[0].wd.value });
        }
    }
);